package com.example.redis.autoregister.config;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
// 添加该注解后，将自动导入 RedisTemplateAutoRegister 类
@Import(RedisTemplateAutoRegister.class)
public @interface EnableRedisTemplateAutoRegister {
}
